Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / Copy Method / Copy(Int32,Workbook,Worksheet[],Boolean) Method
An integer value indicates the specified position.


In This Topic
    Copy(Int32,Workbook,Worksheet[],Boolean) Method
    In This Topic
    Copies worksheets to the specified position in the Worksheet collection of the Workbook.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Copy( _
       ByVal position As Integer, _
       ByVal workbook As Workbook, _
       ByVal sourceWorksheets() As Worksheet, _
       Optional ByVal replaceTabSelection As Boolean _
    ) 
    'Usage
     
    
    Dim position As Integer
    Dim workbook As Workbook
    Dim sourceWorksheets() As Worksheet
    Dim replaceTabSelection As Boolean
     
    Worksheet.Copy(position, workbook, sourceWorksheets, replaceTabSelection)

    Parameters

    position
    An integer value indicates the specified position.
    workbook
    sourceWorksheets
    replaceTabSelection
    See Also